package com.industrial.operation.mapper;

import com.industrial.operation.domain.CityOptions;
import com.industrial.operation.domain.OperationArea;
import com.industrial.operation.domain.OperationJd;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OperationJdFxMapper {
    List<OperationJd> list(@Param("params") OperationJd operationJd);

    /**
     * 导入数据
     *
     * @param operationJds
     */
    void batchInsert(@Param("list") List<OperationJd> operationJds);

    /**
     * 查询用地税收表格
     *
     * @param operationJd
     * @return
     */
    List<OperationJd> selectJdBaseInfo(@Param("params") OperationJd operationJd);

    List<OperationArea> selectCityInfo(@Param("params") OperationJd operationJd);

    /**
     * 查询城市数据中最新的年份
     * @return
     */
    List<OperationJd> selectCityDataMaxYear();

    /**
     * 查询该市的用地面积
     * @param newYears
     * @param value
     */
    CityOptions selectCitySumArea(@Param("years") String newYears, @Param("cityCode") String value);
}
